#!/bin/sh

# Build QTE library
# http://code.google.com/p/maxwit/


#QTE Packages List
export QTE_VERSION=qt-embedded-linux-opensource-src-4.4.1

# download package for qt
${MWL_TOP}/linux/lib/download.sh qt

cd ${BUILD_PATH}

rm -rf ${QTE_VERSION}

echo -n "Extracting ${QTE_VERSION} ..."
tar zxf ${SRC_PATH}/${QTE_VERSION}.tar.gz || exit
echo "OK."

cd ${QTE_VERSION}
./configure \
	-prefix /usr \
	-embedded arm \
	-depths 15,16 \
	-no-qt3support \
	-no-cups \
	-no-separate-debug-info \
	-confirm-license || exit

make || exit
make INSTALL_ROOT=${SYSROOT_PATH} install || exit

